package org.wangduqing.ibatisdao.hibernate;

import java.io.Serializable;
import java.util.List;

public interface IbatisDaoSupportHiber<T> {

	void saveByHiber(T entity);
	<T> T getByIdHiber(Class<T> entity, final Serializable id);
	<T> T getByEntityHiber(T entity);
	void updateByHiber(T entity);
	void deleteByHiber(T entity);
	List<T> listByHiber(T entity);
	public <T> void deleteByIdHiber(Class entityName, Serializable id);
	
}
